<?php

namespace App\Exceptions;

class HttpException extends Exception
{
    /**
     * @param null $message The internal exception message
     * @param int $code The internal exception code
     * @param \Exception|null $previous The previous exception
     */
    public function __construct($message = null, $code = 1, \Exception $previous = null)
    {
        parent::__construct(400, $message, $previous, $code);
    }
}
